import http from 'k6/http';

const url = 'https://httpbin.test.k6.io/patch';

export default function(){
	
	const headers = {'Content-Type':'application/json'};
	const data = {
		name:'Bert'
		};
	let res = http.patch(url,JSON.stringify(data),{headers:headers});
	console.log(JSON.parse(res.body).json.name);
}